import Mock from "mockjs";
const params = Mock.mock({
  name: "Dylan"
});

export default {
  login: () => ({
    code: 0,
    success: true,
    token: "123123123123"
  }),
  getUserInfo: () => ({
    code: 0,
    success: true,
    data: params
  })
};
